import express from 'express'
const router = express.Router();
import CourseController from '../../controller/basic/CourseController'

router.post('/add', CourseController.addData);
router.post('/update', CourseController.updateRecord);
router.post('/delete', CourseController.deleteRecord);
router.post('/get', CourseController.findById);
router.post('/list', CourseController.findByPage);
router.post('/listall', CourseController.findAll);


module.exports = router;